using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class CmsCategoryInfosEntity:AF_ORM.CORE.BaseEntity
    {
         public CmsCategoryInfosEntity()
         {
             tableName = "CmsCategoryInfos";


			 fieldInfos.Add(new FieldInfo("CmsCategoryInfos","CategoryId","CategoryId","Guid",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsCategoryInfos","CatName","CatName","string",512,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsCategoryInfos","Id","Id","Guid",0,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsCategoryInfos","Lang","Lang","string",5,false,true,false,false,"","",""));
         }
       //properties
                    
		 protected Guid m_CategoryId;
		 protected string m_CatName;
		 protected Guid m_Id;
		 protected string m_Lang;

		 public Guid CategoryId

          { 
                get { 
                    return m_CategoryId;}

                set{m_CategoryId=value;

                    GetField("CategoryId").Set();
                    GetField("CategoryId").IsNull=(value == null);           
                    }
          }
		 public string CatName

          { 
                get { 
                    return m_CatName;}

                set{m_CatName=value;

                    GetField("CatName").Set();
                    GetField("CatName").IsNull=(value == null);           
                    }
          }
		 public Guid Id

          { 
                get { 
                    return m_Id;}

                set{m_Id=value;

                    GetField("Id").Set();
                    GetField("Id").IsNull=(value == null);           
                    }
          }
		 public string Lang

          { 
                get { 
                    return m_Lang;}

                set{m_Lang=value;

                    GetField("Lang").Set();
                    GetField("Lang").IsNull=(value == null);           
                    }
          }

}
}
